public class bankaccount {
    private String name;
    private String number;
    private double balance;
    public String getName() {
        return name;
    }

    public String getNumber() {
        return number;
    }

    public double getBalance() {
        return balance;
    }

   public  void Set(String name,String number,double balance){
       this.name = name;
       this.number = number;
       this.balance = balance;
   }
   public void deposit(double money){
        this.balance+=money;
   }
   public void draw(double money){
        this.balance-=money;
   }

    @Override
    public String toString() {
        return (name+"\t"+number+"\t"+balance);
    }
}